package org.javaopenaccess.model;
/**
 * This class is an session object, that is held in memory, while the user
 * is using a workspace.
 * @author Miku
 *
 */
public class InternalSession {
	
	private String sessionId;
	private long sessionStartTime;
	private Schema currentSchema;
	private ClassLoader classLoader;
	
	/**
	 * Constructor for giving the Classloader.
	 * @param classLoader
	 */
	
	public InternalSession(ClassLoader classLoader) {
		super();
		this.classLoader = classLoader;
	}
	public InternalSession() {
		// TODO Auto-generated constructor stub
	}
	public long getSessionStartTime() {
		return sessionStartTime;
	}
	public void setSessionStartTime(long sessionStartTime) {
		this.sessionStartTime = sessionStartTime;
	}
	public String getSessionId() {
		return sessionId;
	}
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}
	public Schema getCurrentSchema() {
		return currentSchema;
	}
	public void setCurrentSchema(Schema currentSchema) {
		this.currentSchema = currentSchema;
	}
	public ClassLoader getClassLoader() {
		return classLoader;
	}
	public void setClassLoader(ClassLoader classLoader) {
		this.classLoader = classLoader;
	}
}
